﻿@model CreateClientInput
<div class="col-md-6 col-lg-offset-3">
    <div class="panel panel-default">
        <div class="panel-heading">新建应用</div>
        <div class="panel-body">
            @Html.Partial("_ValidationSummary")
            <form asp-route="Create" >
                <div class="form-group">
                    <label>应用名称</label>
                    <input class="form-control" asp-for="ClientName" autocomplete="off" />
                </div>
                <div class="form-group">
                    <label>ClientId</label>
                    <input class="form-control" asp-for="ClientId" autocomplete="off" />
                </div>
                <div class="form-group">
                    <label>应用秘钥</label>
                    <input class="form-control" asp-for="Secret" autocomplete="off" />
                </div>
                <div class="form-group">
                    <label>应用登录回调地址</label>
                    <input class="form-control" asp-for="RedirectUri" autocomplete="off" />
                </div>
                <div class="form-group">
                    <label>应用退出回调地址</label>
                    <input class="form-control" asp-for="PostLogoutRequrectUri" autocomplete="off" />
                </div>
                <div class="form-group">
                    <label>应用描述</label>
                    <textarea class="form-control" asp-for="Description" autocomplete="off"></textarea>
                </div>
                <div class="form-group">
                    <label>应用可用</label>
                    <select asp-for="Enabled" class="form-control">
                        <option value="true">可用</option>
                        <option value="false">不可用</option>
                    </select>
                </div>
                <button type="submit" class="btn btn-primary">创建角色</button>
                <a href="/role/list">返回</a>
            </form>
        </div>
    </div>
</div>

